package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 用户设置表
 * </p>
 *
 * @author ${author}
 * @since 2021-01-21
 */
@TableName("user_set")
public class UserSet implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    /**
     * 勿扰模式，0-关闭  1开启
     */
    @TableField("dnd")
    private Integer dnd;

    /**
     * 隐私模式，0-关闭  1-开启
     */
    @TableField("privacy")
    private Integer privacy;

    /**
     * 同城模块状态，0-开启  1-关闭
     */
    @TableField("`local`")
    private Integer local;

    /**
     * 视频通话权限，0-开启  1-关闭
     */
    @TableField("`call`")
    private Integer call;

    /**
     * IM权限，0-开启  1-关闭
     */
    @TableField("im")
    private Integer im;

    /**
     * 人头将状态，0-开启  1-关闭
     */
    @TableField("invite_people_award")
    private Integer invitePeopleAward;

    /**
     * 可进行认证的状态，0-可以  1-不可以
     */
    @TableField("audit")
    private Integer audit;

    /**
     * 微信支付，-1-禁用  0-未绑定  其他-支付渠道配置id
     */
    @TableField("wx_pay")
    private Integer wxPay;

    /**
     * 支付宝支付，-1-禁用  0-未绑定  其他-支付渠道配置id
     */
    @TableField("ali_pay")
    private Integer aliPay;

    @TableField("clean")
    private Integer clean;

    public UserSet() {
    }

    public UserSet(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getDnd() {
        return dnd;
    }

    public void setDnd(Integer dnd) {
        this.dnd = dnd;
    }

    public Integer getPrivacy() {
        return privacy;
    }

    public void setPrivacy(Integer privacy) {
        this.privacy = privacy;
    }

    public Integer getLocal() {
        return local;
    }

    public void setLocal(Integer local) {
        this.local = local;
    }

    public Integer getCall() {
        return call;
    }

    public void setCall(Integer call) {
        this.call = call;
    }

    public Integer getIm() {
        return im;
    }

    public void setIm(Integer im) {
        this.im = im;
    }

    public Integer getInvitePeopleAward() {
        return invitePeopleAward;
    }

    public void setInvitePeopleAward(Integer invitePeopleAward) {
        this.invitePeopleAward = invitePeopleAward;
    }

    public Integer getAudit() {
        return audit;
    }

    public void setAudit(Integer audit) {
        this.audit = audit;
    }

    public Integer getWxPay() {
        return wxPay;
    }

    public void setWxPay(Integer wxPay) {
        this.wxPay = wxPay;
    }

    public Integer getAliPay() {
        return aliPay;
    }

    public void setAliPay(Integer aliPay) {
        this.aliPay = aliPay;
    }

    public Integer getClean() {
        return clean;
    }

    public void setClean(Integer clean) {
        this.clean = clean;
    }

    @Override
    public String toString() {
        return "UserSet{" +
        "id=" + id +
        ", userId=" + userId +
        ", dnd=" + dnd +
        ", privacy=" + privacy +
        ", local=" + local +
        ", call=" + call +
        ", im=" + im +
        ", invitePeopleAward=" + invitePeopleAward +
        ", audit=" + audit +
        ", wxPay=" + wxPay +
        ", aliPay=" + aliPay +
        ", clean=" + clean +
        "}";
    }
}
